<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
<head>
<fmt:setBundle basename="ApplicationResources" />
<c:set var="t" value="true" />
<title><fmt:message key="title.login" /></title>
</head>
<body>
	<form action="${pageContext.request.contextPath}/controller/changepassword"
		method=post>
        ${requestScope.message}
		<h2>
            Change Password
			<fmt:message key="title.login" />
		</h2>
		<table >
            <tr>
                <td>Change password for ${requestScope.name}</td>
            </tr>
			<tr>
                <td>Old Password></td>
                <td><input type="password" name="oldPassword"
                           value="" size=15 maxlength=20></td>
			</tr>
			<tr>
                <td>New Password></td>
                <td><input type="password" name="newPassword"
                           value="" size=15 maxlength=20></td>
			</tr>
            <tr>
                <td>Confirmation></td>
                <td><input type="password" name="confirmPassword"
                           value="" size=15 maxlength=20></td>
            </tr>
			<tr >
				<td colspan="2" align="center"><input type="submit" value="Submit"> &nbsp;&nbsp;&nbsp;&nbsp;
				<input type="reset" value="Reset"></td>
			</tr>
		</table>
	</form>
</body>